<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE HTML>
<html>
  <head>
    
    <title>商品管理</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    	
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="../css/manual.css">
	
  </head>
  
  <body>
  
  <table  width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
  	<tr valign="top">
  	
  		<td height="100">
  			 <jsp:include page="/background/operator/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	<tr valign="top">
  		<td>
  		
   
   
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  
 <tr>
    	<td width="270" align="center">
    		
    	</td>
    	<td width="100%">

    	</td>
    </tr>
    
    <tr>
    	<td valign="top">
     		<div>
     		
     		</div>
					<s:include value="/background/operator/left.jsp"></s:include>		
     	</td>
     	
     	
     	<td valign="top" >
     	
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		<tr>
     			<td>查找产品信息
     			<input type="button" value="查看谁有权限" 
     				onclick="javascript:openUrlForDialog('selectoperatorlimitedAction_background.action?limitedCode=<s:property value="limitedcode"/>')"/>
     			</td>
     			
     		
     			<td align="right"> <a href="preaddgoodsclass_warehouse.action">添加产品分类</a> </td>
     		</tr>
     	</table>
     	
     	<table align="center">
     		<tr>
     			<td><s:fielderror id="errormessage" /></td>
     		</tr>
     	</table>
     	
    <form id="managegoods_warehouse" name="managegoods_warehouse" onSubmit="return true;" action="managegoods_warehouse.action" method="POST" >
    	
			<table  border="0" >
				<tr>
				  <td>
					  查找产品:<input type="text" name="searchStr" size="30" value="<s:property value="searchStr"/>"/>
					  <input type="submit" value="查找" />
				  </td>
			  </tr>
			</table>
	</form> 
	
	
		<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		
     		
     		<tr>
     			<td width="200">产品分类</td>
     			<td>产品列表</td>
     		</tr>
     	</table>
		
		
		
		<table>
			<tr>
				<td width="200" valign="top">
					<table>
						<tr>
							<td width="200">
					asdfasdfs
						</td>
						</tr>
					</table>

				
				</td>
					<td>
		
		<table >
		
		
			<tr>
				
					<td style="border-bottom:#e5f3ff solid 1px;">产品ID</td>
					<td style="border-bottom:#e5f3ff solid 1px;" width="62">图片</td>
					<td style="border-bottom:#e5f3ff solid 1px;" width="305">名称</td>
					<td style="border-bottom:#e5f3ff solid 1px;">数量</td>
					<td style="border-bottom:#e5f3ff solid 1px;">单位</td>
					<td style="border-bottom:#e5f3ff solid 1px;">最新进价</td>
					<td style="border-bottom:#e5f3ff solid 1px;">进货均价</td>
					<td style="border-bottom:#e5f3ff solid 1px;">操作</td>
				</tr>
		
			<s:iterator id="goodsList" value="goodsList">
				<tr>
				
					<td style="border-bottom:#e5f3ff solid 1px;"><s:property value="#goodsList.id_goods"/></td>
					<td style="border-bottom:#e5f3ff solid 1px;">
						<img src="<s:property value="#goodsList.image_goods"/>" width="60" height="60"/>
					</td>
					<td style="border-bottom:#e5f3ff solid 1px;">
						<a href="#">
					<s:property value="#goodsList.name_goods"/></a>
					
					<s:if test="#goodsList.url_goods != ''">
   					<a href="<s:property value="#goodsList.url_goods"/>" target="_blank">
   						<img src="<%=basePath %>/warehouse/image/magnifier.jpg"></img>
   					</a>
   					</s:if>
					</td>
					<td style="border-bottom:#e5f3ff solid 1px;"><s:property value="#goodsList.number_goods"/></td>
					<td style="border-bottom:#e5f3ff solid 1px;"><s:property value="#goodsList.unit_goods"/>
					<font color="#c0c0c0">/ <s:property value="#goodsList.kg_goods"/>kg</font>
					</td>
					<td style="border-bottom:#e5f3ff solid 1px;"><s:property value="#goodsList.price_goods"/></td>
					<td style="border-bottom:#e5f3ff solid 1px;"><s:property value="#goodsList.average_goods"/></td>
					<td style="border-bottom:#e5f3ff solid 1px;">
						<a href="premodifygoods_warehouse.action?id=<s:property value="#goodsList.id_goods"/>"> 修改 </a>
					
					</td>
				</tr>
			</s:iterator>
		</table>
		</td>
		</tr>
	</table>
	
			
	</td>
	
	
	
</tr>

</table>

</td>
</tr>
<tr valign="bottom">
	<td>
		<jsp:include page="/background/operator/tail.jsp"></jsp:include>
	</td>
</tr>
</table>

  </body>
<script type="text/javascript">



</script>
</html>
